package com.njtoyo.taxi.admin.service.marketing;

import com.njtoyo.taxi.admin.rest.presenter.marketing.seckill.RuleListPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.marketing.seckill.SetRuleWrapper;
import com.taxi.entity.common.RestResult;

import java.util.List;

public interface SeckillRuleService {

    RestResult setRule(Long activityId, SetRuleWrapper setRuleWrapper);

    RestResult<List<RuleListPresenter>> getRule(Long activityId);

    RestResult deleteRule(Long activityId, Long ruleId);
}
